<%--
  Created by IntelliJ IDEA.
  User: 28267
  Date: 2021/11/23
  Time: 9:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>添加页面</title>
</head>
<body>
<jsp:include page="top.jsp"></jsp:include>
<form id="form" action="addStu" method="post" enctype="multipart/form-data">
    <table border="1" cellspacing="0" width="500" height="300" align="center">
        <caption>
            <h2>学生添加</h2>
        </caption>
        <tr>
            <td align="right">姓名:</td>
            <td><input type="text" name="sname" placeholder="请输入姓名" /></td>
        </tr>
        <tr>
            <td align="right">年龄:</td>
            <td><input  name="age" placeholder="请输入年龄" /></td>
        </tr>
        <tr>
            <td align="right">性别:</td>
            <td>
                男<input type="radio" name="sex" value="0">
                女<input type="radio" name="sex" value="1">
            </td>
        </tr>
        <tr>
            <td align="right">手机号:</td>
            <td><input type="text" name="tel" placeholder="请输入手机号" /></td>
        </tr>
        <tr>
            <td align="right">出生日期:</td>
            <td><input type="date" name="sbir" placeholder="请输入出生日期" /></td>
        </tr>
        <tr>
            <td align="right">头像:</td>
            <td><input type="file" name="spic"/></td>
        </tr>
        <tr>
            <td align="center" colspan="2"><input type="submit" value="添加"/></td>
        </tr>
    </table>
</form>
</body>
</html>
